package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * 培养计划课程安排
 * Created with IntelliJ IDEA.
 * User: ly
 * Date: 13-11-12
 * Time: 下午2:51
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TJX_JHPYKCAP")
@Entity
public class TjxJhpykcap {
	private Long id;
	private Long pyjh; //培养计划id
	private Long pyjhhj; //培养计划环节id
	private Long kc; //课程id
	private Integer zks; //总课时
	private Integer wks; //周课时
	private Long jlr; //记录人
	private Long jlsj; //记录时间
    private Integer sfks;//是否考试 0|否;1|是

    //非表字段
	private Long xn; //学年
	private Long xq;//计划学期

	public TjxJhpykcap() {
	}

	public TjxJhpykcap(Long id, Long pyjh, Long pyjhhj, Long kc, Integer zks, Integer wks, Long jlr, Long jlsj, Long xn, Long xq,Integer sfks) {
		this.id = id;
		this.pyjh = pyjh;
		this.pyjhhj = pyjhhj;
		this.kc = kc;
		this.zks = zks;
		this.wks = wks;
		this.jlr = jlr;
		this.jlsj = jlsj;
		this.xn = xn;
		this.xq = xq;
        this.sfks = sfks;
	}

	@javax.persistence.Column(name = "ID")
	@Id
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@javax.persistence.Column(name = "PYJH")
	@Basic
	public Long getPyjh() {
		return pyjh;
	}

	public void setPyjh(Long pyjh) {
		this.pyjh = pyjh;
	}

	@javax.persistence.Column(name = "PYJHHJ")
	@Basic
	public Long getPyjhhj() {
		return pyjhhj;
	}

	public void setPyjhhj(Long pyjhhj) {
		this.pyjhhj = pyjhhj;
	}

	@javax.persistence.Column(name = "KC")
	@Basic
	public Long getKc() {
		return kc;
	}

	public void setKc(Long kc) {
		this.kc = kc;
	}

	@javax.persistence.Column(name = "ZKS")
	@Basic
	public Integer getZks() {
		return zks;
	}

	public void setZks(Integer zks) {
		this.zks = zks;
	}

	@javax.persistence.Column(name = "WKS")
	@Basic
	public Integer getWks() {
		return wks;
	}

	public void setWks(Integer wks) {
		this.wks = wks;
	}

	@javax.persistence.Column(name = "JLR")
	@Basic
	public Long getJlr() {
		return jlr;
	}

	public void setJlr(Long jlr) {
		this.jlr = jlr;
	}

	@javax.persistence.Column(name = "JLSJ")
	@Basic
	public Long getJlsj() {
		return jlsj;
	}

	public void setJlsj(Long jlsj) {
		this.jlsj = jlsj;
	}

    @javax.persistence.Column(name = "SFKS")
    @Basic
    public Integer getSfks() {
        return sfks;
    }

    public void setSfks(Integer sfks) {
        this.sfks = sfks;
    }

	@Transient
	public Long getXn() {
		return xn;
	}

	public void setXn(Long xn) {
		this.xn = xn;
	}

	@Transient
	public Long getXq() {
		return xq;
	}

	public void setXq(Long xq) {
		this.xq = xq;
	}
}
